<template>
  <div>
    <h2>学生名称{{name}}</h2>
    <h2>地址{{address}}</h2>
    <button @click="showName()">点我提示学校名</button>
  </div>
</template>

<script>
    export default {
        name:'Student',
        data() {
            return {
                name:'ZS',
                address:'hns——zks'
            }
        }
    }
</script>